package com.example.octopus.entity.returnMessage;

import com.example.octopus.entity.Collect;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
@Data
public class CollectSendSelectMessage {
    @JsonProperty
    List<Collect> collectedGoods;
    @JsonProperty("errcode")
    private int errcode;
    @JsonProperty("errmsg")
    private String errmsg;
    public CollectSendSelectMessage(List<Collect> collectedGoods, int errcode, String errmsg) {
        this.collectedGoods = collectedGoods;
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

}
